﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using InterfaceOperacion;

namespace PluginDivision
{
    public class Division : InterfacePlugin
    {
        public string simbolo { get { return "/"; } }

        public double operar(double a, double b)
        {
                if(b == 0) throw new DivideByZeroException();
                return a / b;
        }
           
     }
 }

